package com.tchhy.provider.data.healthy.response

/**
 * Created by easyfuture on 2020-02-18
 */
data class InvoicePageRes(
    var pageNum: Int,
    var pageSize: Int,
    var totalNum: Int,
    var list: List<Data>
) {
    data class Data(
        var address: String,
        var aggregateAmount: String,
        var applicantId: String,
        var createTime: String,
        var id: String,
        var invoiceContent: String,
        var invoiceTitle: String,
        var invoiceType: Int,
        var orderNum: String,
        var taxFileNumber: String,
        var invoiceItem: List<InvoiceItem>,
        var invoiceOrderDTOS: List<InvoiceOrderDTOS>
    ) {
        data class InvoiceItem(
            var commodityNum: Int,
            var createId: String,
            var orderNum: String,
            var payAmount: String,
            var totalAmount: Int
        )

        data class InvoiceOrderDTOS(
            var id: String,
            var invoiceId: String,
            var orderId: String
        )
    }
}